]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Fix lightbox
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 23 Oct 2012 20:40:09 +0000 (22:40 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 24 Oct 2012 07:03:12 +0000 (09:03 +0200)
Commit 448517032e5 accidentally reverted the condition for showing
the lightbox. Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=686728

js/ui/messageTray.js

index 791ea9e736c30bfb2a5f73b95c84d30b3152b24a..bd2ab2f4f6fa71ed67f3c17848e88ba21d372102 100644 (file)
@@ -2101,9 +2101,8 @@ const MessageTray = new Lang.Class({
                       transition: 'easeOutQuad'
                     });
 
-        if (this._overviewVisible) {
+        if (!this._overviewVisible)
             this._lightbox.show();
-        }
 
         return true;
     },